#include "TQueue.cpp"
#include "Complex.h"

int main()
  {
    TQueue<int> s = TQueue<int>();
    s.adauga(1);
    s.adauga(2);
    s.adauga(3);
    s.adauga(4);
    s.adauga(5);
    s.afisare();
    s.sterge();
    s.afisare();
    std::cout<<"Coada are "<<s.nrElemente()<<" elemente.";
    s.adauga(1);
    s.afisare();
    TQueue<Complex> s2 = TQueue<Complex>();
    Complex z1 = Complex(1.2, 1.3);
    s2.adauga(z1);
    Complex z2 = Complex(1.3, 1.4);
    s2.adauga(z2);
    Complex z3 = Complex(1.4, 1.5);
    s2.adauga(z3);
    Complex z4 = Complex(1.7, 1.6);
    s2.adauga(z4);
    Complex z5 = Complex(1.2, 1.3);
    s2.adauga(z5);
    s2.afisare();
    return 0;
  }